package com.lanhai.longheng.localized;

import java.util.ArrayList;
import java.util.List;

/**
 * 特殊路段
 * @author zhengwei
 *
 */
public class LHRoadBean { 
	private boolean toLeft;
	private List<Integer> list=new ArrayList<Integer>();
 
	
	
	  
	public boolean isToLeft() {
		return toLeft;
	}




	public void setToLeft(boolean toLeft) {
		this.toLeft = toLeft;
	}




	public List<Integer> getList() {
		return list;
	}




	public void setList(List<Integer> list) {
		this.list = list;
	}

	public void addAgv(int agvid) {
		Integer t=agvid;
		if(list.contains(t)==false) {
			list.add(t);
		}
	}

	public void removeAgv(int agvid) {
		Integer t=agvid;
		list.remove(t);
	}

	public void reset() {
		list.clear();
	}
	
}
